package com.bigegg.employee.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 招聘会预定对象 job_activity_order
 * 
 * @author sun
 * @date 2022-08-15
 */
public class ActivityOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 活动ID */
    @Excel(name = "活动ID")
    private Long activityId;

    /** 预定用户 */
    @Excel(name = "预定用户")
    private Long orderUserId;

    /** 预定时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预定时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }
    public void setOrderUserId(Long orderUserId) 
    {
        this.orderUserId = orderUserId;
    }

    public Long getOrderUserId() 
    {
        return orderUserId;
    }
    public void setOrderTime(Date orderTime) 
    {
        this.orderTime = orderTime;
    }

    public Date getOrderTime() 
    {
        return orderTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activityId", getActivityId())
            .append("orderUserId", getOrderUserId())
            .append("orderTime", getOrderTime())
            .toString();
    }
}
